In Sets, bags, and mixes§
See primary documentation in context for infix (>), infix ⊃.
Returns True
if $a
is a strict superset of $b
, else False
. More information, Wikipedia definition.
In Operators§
See primary documentation in context for infix (>), infix ⊃.
multi infix:«(>)»($a,$b --> Bool:D)
Returns True
if $a
is a strict superset of $b
, i.e., that all the elements of $b
are elements of $a
but $a
is a larger set than $b
.
say (1,2,3) (>) (2,3,1); # OUTPUT: «False» say (1,2,3) (>) (2,3); # OUTPUT: «True» say 4 ⊃ (1,2,3); # OUTPUT: «False»